//
//  ProductCell.h
//  FactorySale
//
//  Created by 胡小康 on 2020/4/21.
//  Copyright © 2020 主事丫环. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CooperationPriductListModel.h"
NS_ASSUME_NONNULL_BEGIN
@class ProductCell;
@protocol  ProductCellDelegate<NSObject>
@optional
- (void)productCellChangePriceClick:(NSIndexPath *)indexPath;
@end
@interface ProductCell : UITableViewCell
@property (nonatomic,strong)CooperationPriductListModel *model;
- (void)assignment:(CooperationPriductListModel *)model withUnit:(NSString *)unit;
+ (instancetype)cellWithTableView:(UITableView *)tableView;
/**     */
@property (nonatomic, assign) NSIndexPath *indexPath;
/**        */
@property (nonatomic, copy) void (^productCellBlock)(void);
@property (weak, nonatomic) id<ProductCellDelegate>delegate;
@end

NS_ASSUME_NONNULL_END
